package com.mvvm.store.bean.basebean;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

/**
 * 扫码获取入库字段
 */
@Entity
public class MaterialInfoBean {
    @PrimaryKey(autoGenerate = true)
    public int sId;

    @ColumnInfo(name = "orderNumber")
    private String orderNumber;  //订单号,防止不是这个订单的事件发生

    @ColumnInfo(name = "oddNumber")
    private String oddNumber;  //扫码获取零件号

    @ColumnInfo(name = "snpNumber")
    private String snpNumber;  //扫码获取 snp号

    @ColumnInfo(name = "sumNumber")
    private String sumNumber;  //扫码获取到货总数

    @ColumnInfo(name = "packNumber")
    private String packNumber; //扫码获取箱数

    @ColumnInfo(name = "lableNumber")
    private String lableNumber; //扫码获取标签号

    @ColumnInfo(name = "dateTime")
    private String dateTime; //扫码获取时间


    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public int getsId() {
        return sId;
    }

    public void setsId(int sId) {
        this.sId = sId;
    }

    public String getDateTime() {
        return dateTime;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    public String getOddNumber() {
        return oddNumber;
    }

    public void setOddNumber(String oddNumber) {
        this.oddNumber = oddNumber;
    }

    public String getSnpNumber() {
        return snpNumber;
    }

    public void setSnpNumber(String snpNumber) {
        this.snpNumber = snpNumber;
    }

    public String getSumNumber() {
        return sumNumber;
    }

    public void setSumNumber(String sumNumber) {
        this.sumNumber = sumNumber;
    }

    public String getPackNumber() {
        return packNumber;
    }

    public void setPackNumber(String packNumber) {
        this.packNumber = packNumber;
    }

    public String getLableNumber() {
        return lableNumber;
    }

    public void setLableNumber(String lableNumber) {
        this.lableNumber = lableNumber;
    }

    @Override
    public String toString() {
        return "MaterialInfoBean{" +
                "sId=" + sId +
                ", orderNumber='" + orderNumber + '\'' +
                ", oddNumber='" + oddNumber + '\'' +
                ", snpNumber='" + snpNumber + '\'' +
                ", sumNumber='" + sumNumber + '\'' +
                ", packNumber='" + packNumber + '\'' +
                ", lableNumber='" + lableNumber + '\'' +
                ", dateTime='" + dateTime + '\'' +
                '}';
    }
}
